const menuList = [
    {
        title: '首页',
        key: '/home', // key, route
        icon: 'home'
    },
    {
        title: '商品',
        key: 'subProduct', // key
        icon: 'amazon',
        subMenu: [ // 联级子菜单
            {
                title: '品类维护',
                key: '/category', // key, route
                icon: 'unordered-list',
            },
            {
                title: '商品管理',
                key: '/product', // key, route
                icon: 'car',
            }
        ]
    },
    {
        title: '用户管理',
        key: '/user', // key, route
        icon: 'user'
    },
    {
        title: '角色管理',
        key: '/role', // key, route
        icon: 'solution'
    },
    {
        title: '权限管理',
        key: '/role1', // key, route
        icon: 'warning'
    },
    {
        title: '图形图表',
        key: 'subChart', // key
        icon: 'area-chart',
        subMenu: [ // 联级子菜单
            {
                title: '柱状图',
                key: '/charts/bar', // key, route
                icon: 'bar-chart',
            },
            {
                title: '折线图',
                key: '/charts/line', // key, route
                icon: 'line-chart',
            },
            {
                title: '饼图',
                key: '/charts/pie', // key, route
                icon: 'pie-chart',
            }
        ]
    },
    {
        title: '订单管理',
        key: '/order', // key, route
        icon: 'read'
    },
    {
        title: '系统配置',
        key: 'subSystem', // key
        icon: 'setting',
        subMenu: [ // 联级子菜单
            {
                title: '系统加速',
                key: '/charts/bar1', // key, route
                icon: 'rocket',
            },
            {
                title: '消息通知',
                key: '/charts/line1', // key, route
                icon: 'sound',
            },
            {
                title: '关系维护',
                key: '/charts/pie1', // key, route
                icon: 'apartment',
            },
            {
                title: '系统报修',
                key: '/charts/pie2', // key, route
                icon: 'tool',
            }
        ]
    }
];

export default menuList;
